package com.woniuxy.service.impl;

import com.woniuxy.dao.ManagerDao;
import com.woniuxy.entity.RbacManager;
import com.woniuxy.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 22/01/26/0026 上午 10:45
 * @Component: 成都蜗牛学苑
 **/

@Service
public class ManagerServiceImpl implements ManagerService {
    @Autowired
    ManagerDao managerDao;
    @Override
    public int addManager(RbacManager rbacManager) {
       return managerDao.addOne(rbacManager);
    }
}
